<template>
  <div>
    <van-tabbar route active-color='#ff734c' inactive-color='#232628'>
      <van-tabbar-item icon="shouye" icon-prefix="icon" to='/home'>首页</van-tabbar-item>
      <van-tabbar-item icon="icon04" icon-prefix="icon" to='/cate'>分类</van-tabbar-item>
      <van-tabbar-item icon="gouwuche" icon-prefix="icon" to='/cart' :badge="$store.state.cart.items.length || ''">购物车</van-tabbar-item>
      <van-tabbar-item icon="xiaolian" icon-prefix="icon" to='/user'>我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
